﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="OrdersForBranchAccountant.aspx.cs" Inherits="OrdersForBranchAccountant" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h2>
        催收尾款</h2>
    <div id="SettleAccount">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
            Visible="False" CssClass="commongv">
            <Columns>
                <asp:BoundField DataField="OrderID" HeaderText="订单编号" SortExpression="OrderID"/>
                <asp:BoundField DataField="支付状态" HeaderText="支付状态" SortExpression="支付状态"/>
                <asp:BoundField DataField="下单时间" HeaderText="下单时间" SortExpression="下单时间" DataFormatString="{0:yyyy-MM-dd}" />
                <asp:BoundField DataField="公司英文名" HeaderText="公司英文名" SortExpression="公司英文名" />
                <asp:BoundField DataField="注册地" HeaderText="注册地" SortExpression="注册地" />
                <asp:BoundField DataField="业务员" HeaderText="业务员" SortExpression="业务员" />
                <asp:BoundField DataField="货币类型" HeaderText="货币" ReadOnly="True" SortExpression="货币类型" />
                <asp:BoundField DataField="金额" HeaderText="金额" SortExpression="金额" DataFormatString="{0:0}" />
                <asp:BoundField DataField="业务类型" HeaderText="业务类型" SortExpression="业务类型" />
                <asp:HyperLinkField HeaderText="操作" SortExpression="OrderID" DataNavigateUrlFormatString="~/Financial/HandleSettle.aspx?OrderID={0}"
                    Text="处理" DataNavigateUrlFields="OrderID" />
            </Columns>
        </asp:GridView>
    </div>
    <asp:HiddenField ID="UserInfo" runat="server" />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:KOONCRMDB %>"
        SelectCommand="Order_SettleAccount" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="UserInfo" Name="branchID" PropertyName="Value" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
